<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/8/7 0007
 * Time: 上午 10:15
 */
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use yii\widgets\LinkPager;//分页
use app\common\Functions;
use kartik\select2\Select2;
use yii\web\JsExpression;
use yii\bootstrap\Modal;//弹窗引用类
use kartik\date\DatePicker;


?>

<div>

    <table class="table table-bordered">

        <tr>
            <th>
                <strong>客户</strong>
            </th>
            <th>
                <strong>手机</strong>
            </th>
            <th>
                <strong>来源</strong>
            </th>
            <th>
                <strong>咨询方式</strong>
            </th>
            <th>
                <strong>录入时间</strong>
            </th>
            <th>
                <strong>区域</strong>
            </th>
            <th>
                <strong>行业</strong>
            </th>
            <th>
                <strong>招商员</strong>
            </th>
            <th>
                <strong>录入员</strong>
            </th>
            <th>
                <strong>回访次数</strong>
            </th>
            <th>
                <strong>备注</strong>
            </th>
        </tr>

        <?php foreach ($regions as $k=> $region): ?>
            <tr>
                <td>
                    <?= $region['name'] ?>
                </td>
                <td>
                    <?= $region['cell'] ?>
                </td>
                <td>
                    <?= $region['inf']?>-<?= $region['source'] ?>
                </td>
                <td>
                    <?= $region['conm'] ?>
                </td>
                <td>
                    <?= $region['time'] ?>
                </td>
                <td>
                    <?= $region['yx'] ?>
                </td>
                <td>
                    <?= $region['industry'] ?>
                </td>


                <td>
                    <?= $region['attract'] ?>
                </td>
                <td>
                    <?= $region['keyboarder'] ?>
                </td>
                <td>
                    <?= $region['sum'] ?>
                </td>
                <td class="col-sm-2">
                    <?=  $region['remark'] ?>
                </td>
            </tr>

        <?php endforeach; ?>
    </table>




</div>